//
//  SendComLogicHandle.h
//  NLProjectFrameworkDemo
//
//  Created by iosdeveloper on 2020/4/29.
//  Copyright © 2020 yj_zhang. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "MatinsIMinitModel.h"//初始化信息
//#import "MantisIMStartModel.h"//发起建立连接
#import "WelcomeJsonData.h"//建立连接
#import "MantisCellJosonData.h"//发送消息前组装成json数据
#import "MantisTextCellData.h"//文本消息
#import "MantisAcademicCellData.h"//学历消息
#import "MantisImageMessageCellData.h"//图片消息
#import "ManitsFileResultModel.h"



NS_ASSUME_NONNULL_BEGIN

@interface SendComLogicHandle : NSObject

//组装发送消息之前的model
+(MantisCellJosonData*)sendMessagePrepareWithCellJosnData:(NSString*)type by:(NSString*)by;
//组装发送消息之前的contentmodel
+(MantisTextCellConetentData*)getCellContenModelFromBuildModel:(WelcomeJsonData*)buildModel proModel:(MatinsIMinitModel*)starModel type:(NSString*)type;



//组装发送文本消息模型
+(MantisTextCellData*)getCellDataFrom:(NSString*)inputStr json:(MantisCellJosonData*)jsonData;
//组装发送选择性消息
+(MantisTextCellSubContentData*)getChoiceCellDataFrom:(MantisTextCellSubContentData*)btnData json:(MantisCellJosonData*)jsonData;


//发送自定义消息 给后台
+(MantisTextCellData*)sendDifferentMessaeWith:(NSString*)sendType chatModel:(WelcomeJsonData*)chatModel myModel:(MatinsIMinitModel*)myModel contentType:(NSString*)contentType;
//发送图片消息
+(MantisImageMessageCellData *)getPicMessagefromchatModel:(WelcomeJsonData*)chatModel myModel:(MatinsIMinitModel*)myModel picData:(NSDictionary*)data;

//组装发送预读消息
+(MantisTextCellData*)sendPreReadMessageWith:(NSString*)inputStr  chatModel:(WelcomeJsonData*)chatModel myModel:(MatinsIMinitModel*)myModel;

@end

NS_ASSUME_NONNULL_END
